﻿using SiteApp.DAL;
using SiteApp.Model;

namespace SiteApp.BLL.Interface
{
    public class PointForTemperatureService: IPointForTemperatureService
    {
        public int InsertPointForTemperature(PointForTemperature model)
        {

            var result = SqlDBHelper.Execute($"insert into  [PointForTemperature](PointId,Temperature,Humidity,Createtime,SiteId) values(@PointId,@Temperature,@Humidity,@Createtime,@SiteId)", model);
            return result;

        }

    }
}
